package com.hst.capacity.domain.model.request.fleet;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class FleetSaveParam {

//    @NotEmpty(message = "车队ID-传入为修改[idAgent]不能为空")
    private String idFleet;
    @NotEmpty(message = "加盟商ID[idFranchisee]不能为空")
    private String idFranchisee;
    @NotEmpty(message = "服务商ID[idAgent]不能为空")
    private String idAgent;
    @NotEmpty(message = "车队名称[agentName]不能为空")
    private String fleetName;
    @NotEmpty(message = "车队长[agentName]不能为空")
    private String fleetAdmin;
//    @NotNull(message = "抽佣比率[commissionRate]不能为空")
//    private float commissionRate;
    @NotNull(message = "运营状态0:停止;1:正常[status]不能为空")
    private int status;
    @NotEmpty(message = "车队长电话[fleetTel]不能为空")
    private String fleetTel;

}
